package com.chaoyi.dao.mysql.baidumv;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.chaoyi.vo.Device;
import com.chaoyi.vo.NewUserCount;
import com.chaoyi.vo.UserAction;

public interface DeviceMapper {

	int insertDevice(Device device);
	
	List<NewUserCount> selectNewUserCount(@Param("startTime")String startTime,@Param("endTime")String endTime);
	
	int selectTotalRecords(@Param("startDate")String startDate,@Param("endDate")String endDate);
	
	List<UserAction> selectDevice(@Param("startDate")String startDate,@Param("endDate")String endDate,@Param("offset")int offset,@Param("pageSize")int pageSize);
}
